package com.example.demo.service.app.impl;

import com.example.demo.entity.app.AppRole;
import com.example.demo.mapper.app.AppRoleMapper;
import com.example.demo.service.app.AppRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author xkx
 * @date 2019/1/7
 */
@Service
public class AppRoleServiceImpl implements AppRoleService {

  @Autowired
  private AppRoleMapper appRoleMapper;

  @Override
  public AppRole selectAppRoleById(Long id) {
    return this.appRoleMapper.selectByPrimaryKey(id);
  }
}
